
package model;

import interfaces.FirmaInterface;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class Firma extends UnicastRemoteObject implements FirmaInterface {
    
    private String firmanavn;
    private double konto;
    
    public Firma(String firmanavn, double konto ) throws RemoteException {
        this.firmanavn = firmanavn;
        this.konto = konto;
    }

    @Override
    public String getFirmanavn() {
        return firmanavn;
    }

    @Override
    public double getKonto() {
        return konto;
    }
    
    
    
}
